package com.ts.common.util.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractKehu entity provides the base persistence definition of the Kehu
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractKehu implements java.io.Serializable {

	// Fields

	private Integer id;
	private String username;
	private String pwd;
	private String title;
	private String nickname;
	private String tel;
	private Date phtime;
	private String address;
	private String mianji;
	private String huxing;
	private String hetong;
	private Set newses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractKehu() {
	}

	/** full constructor */
	public AbstractKehu(String username, String pwd, String title,
			String nickname, String tel, Date phtime, String address,
			String mianji, String huxing, String hetong, Set newses) {
		this.username = username;
		this.pwd = pwd;
		this.title = title;
		this.nickname = nickname;
		this.tel = tel;
		this.phtime = phtime;
		this.address = address;
		this.mianji = mianji;
		this.huxing = huxing;
		this.hetong = hetong;
		this.newses = newses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Date getPhtime() {
		return this.phtime;
	}

	public void setPhtime(Date phtime) {
		this.phtime = phtime;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getMianji() {
		return this.mianji;
	}

	public void setMianji(String mianji) {
		this.mianji = mianji;
	}

	public String getHuxing() {
		return this.huxing;
	}

	public void setHuxing(String huxing) {
		this.huxing = huxing;
	}

	public String getHetong() {
		return this.hetong;
	}

	public void setHetong(String hetong) {
		this.hetong = hetong;
	}

	public Set getNewses() {
		return this.newses;
	}

	public void setNewses(Set newses) {
		this.newses = newses;
	}

}